package com.fa4j.common.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@Schema(description = "通用状态")
@AllArgsConstructor
public enum CommonState implements BaseEnum {

    DISABLE(0, "禁用"),
    ENABLE(1, "启用");

    /**
     * 编码
     */
    private final Integer code;

    /**
     * 名称
     */
    private final String name;

}
